<if condition="$readonly">
    <div class="{$class}">{$value}</div>
<else />
    <if condition="$options">
        <volist name="options" id="vo">
            <if condition="in_array($key, $value)">
                <input type="checkbox" class="{$class}" name="{$name}" {$other} value="{$key}" title="{$vo}" checked />
            <else/>
                <input type="checkbox" class="{$class}" name="{$name}" {$other} value="{$key}" title="{$vo}" />
            </if>
        </volist>
    </if>
</if>